package com.data.biz.utils;


public class CoreConstants extends PropertySupport {
    public static final String SUPPORT_LIMIT_PAGESIZE = getProperty("support.limit.pageSize");
    public static final String WORKFLOW_ENGINE = getProperty("workflow.engine");
    public static final String WORKFLOW_ASSIGN = getProperty("workflow.assign", "true");
    public static final String JXL_EXPORT_ROWS = getProperty("jxl.export.rows", "true");
    public static final String hostprotocol = getProperty("Host.protocol", "http");
    public static final String hostip = getProperty("Host.ip", "localhost");
    public static final String hostport = getProperty("Host.port", "7001");
    public static final String appId = getProperty("application.id", "");
    public static final String appType = getProperty("application.type", "");
    public static final String appToken = getProperty("application.token", "");
    public static final String appName = getProperty("application.name", "");
    public static final String preESBUrl = getProperty("pre.esburl", "esb/");
    public static final String preBiUrl = getProperty("pre.biurl", "hfmisbi/");
    public static final String preOaUrl = getProperty("pre.oaurl", "hfmisoa/");
    public static final String uploadDir = getProperty("upload.dir", "");
    public static final String preDataUrl = getProperty("pre.dataurl");
    public static final String twainHost;
    public static final String useTuxedo;
    public static final String jcaptcha;
    public static final String macCheck;
    public static final String usersessionMax;
    public static final String confirmDelete;
    public static final String reportUploadType;
    public static final Boolean componentTaskEnable;
    public static final String[] SESSION_UNCHECK;
    public static final String SESSION_OUTPAGE;
    public static final String[] SYNCDATA_TABLENAME;
    public static final String OAUTH_SERVER_URL;
    public static final Boolean SESSION_ENABLE_COOKIES;

    static {
        twainHost = getProperty("twain.host", hostip + ":" + hostport);
        useTuxedo = getProperty("tuxedo.use", "auto");
        jcaptcha = getProperty("jcaptcha.enabled", "true");
        macCheck = getProperty("macCheck.enabled", "false");
        usersessionMax = getProperty("usersession.max", "0");
        confirmDelete = getProperty("config.confirm.delete", "false");
        reportUploadType = getProperty("report.upload.type", "file");
        componentTaskEnable = "true".equals(getProperty("component.task.enable", "false"));
        SESSION_UNCHECK = getProperty("session.uncheck", "").split(",");
        SESSION_OUTPAGE = getProperty("session.outpage", "logon.do");
        SYNCDATA_TABLENAME = getProperty("syncData.tableName", "").split(",");
        OAUTH_SERVER_URL = getProperty("oauth.server.url", "");
        SESSION_ENABLE_COOKIES = "true".equals(getProperty("session.enable.cookies", "false"));
    }

    public CoreConstants() {
    }
}
